home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8073 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: brage@airdmhor.gen.nz (Aaron Hicks)
  3. Newsgroups: comp.lang.c++
  4. Subject: Profiling G++ in Linux.
  5. Date: 14 Feb 1996 22:37:47 +1300
  6. Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat.
  7. Message-ID: <4fsahc$6kk@airdmhor.gen.nz>
  8. NNTP-Posting-Host: airdmhor.gen.nz
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. [ Article crossposted from gnu.g++.help ]
  12. [ Author was Aaron Hicks ]
  13. [ Posted on 14 Feb 1996 22:36:12 +1300 ]
  14.  
  15. Ok, so I've written a program in C++, it works but slowly, so I try to
  16. profile it, and well, it doesn't profile. g++ fails to produce the required
  17. gmon.out file required for gprof to work, it works just fine when I compile
  18. ordinary C code with gcc. 
  19.  
  20. I'm using the Nov '95 release of Linux and gcc, and the g++ command used for
  21. compiling looks like this,
  22.  
  23. g++ -lvga -lvgagl -pg -O3 myprog.cc
  24.  
  25. Is this a bug?
  26.  
  27.  
  28. --
  29. #############################################################################
  30. # A message from Bloodrage at Airdmhor (brage@airdmhor.gen.nz) the home of  #
  31. # MegaBBS and The Realms of Insanity BBS. Agony or ecstacy, neither bore me #
  32. #############################################################################
  33.